//加载http组件
let http = require('http');

let server = http.createServer(
    (req,res) => {
        res.writeHead(200,{'Content-type':'text/html;charset=utf-8'});
        res.end("你好");
    }
);
server.listen(3000,'www.test112901.com');